package david;

public class SayhelloDemo {


	public static void main(String[] args) {
		
		Child child1 = new Child();
		Child child2 = new Child();
		Parent parent1 = new Parent();
		Parent parent2 = new Parent();
		
		parent1.name = "David";
		parent2.name = "test";
				
		child1.sayGoodMorning("Demo child1");
		child2.sayHello();
		
		child2.sayGoodMorning("Demo child2");
		child1.sayHello();
		
		parent1.sayGoodMorning();
		parent2.sayHello("name");
		
		parent2.sayGoodMorning();
		parent1.sayHello();
		
		
		

	}

}
